﻿<UserControl x:Class="UT3Bots.Visualizer.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ut="clr-namespace:UT3Bots.Visualizer.Controls"
    Width="Auto" Height="Auto">
	<Grid x:Name="LayoutRoot" Background="#606060">
		<Grid>
			<ut:UTUIMap Name="utMap"  />
		</Grid>
		<Grid Name="gridConnect" >
			<Rectangle Fill="#CCFFFFFF"/>
			<Image Source="Assets/UT3BotsLogo.png" Stretch="None" Margin="0,-300,0,0" />
			<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" Text="Connect to a UT3 Bots Server" Margin="0,-100,0,0" />

			<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
				<TextBox Name="txtConnect" Width="130" Text="174.133.254.34" KeyDown="TextBox_KeyDown" />
				<Button Name="btnConnect" Width="70" Margin="5,0,0,0" Content="Connect" Click="btnConnect_Click" />
			</StackPanel>
		</Grid>
        <Canvas Name="PageRoot" />
    </Grid>
</UserControl>
